close all;
figure;
subplot(2,2,1)
plot(simout.time, simout.signals.values(:,1),'LineWidth',1.5);
ylabel('x')
hold on
plot([simout.time(1) simout.time(end)],[0 0], 'k--')
hold off
xlabel('s');
subplot(2,2,2)
plot(simout.time, simout.signals.values(:,2),'LineWidth',1.5);
ylabel('theta');
hold on
plot([simout.time(1) simout.time(end)],[0 0], 'k--')
hold off
% legend('speed','anglespeed');
xlabel('s');


% matlab2tikz('../verslag/img/stepResponse.tikz', 'height', '\figureheight', 'width', '\figurewidth' );